
package com.xbongbong.saas.domain.dao;

import com.xbongbong.saas.domain.entity.SurveyAnswerUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2018-11-12 20:02:45
*/
@Repository
@Mapper
public interface SurveyAnswerUserDao {


	Integer insert(SurveyAnswerUserEntity surveyAnswerUser);
	Integer update(SurveyAnswerUserEntity surveyAnswerUser);

	void insertBatch(List<SurveyAnswerUserEntity> surveyAnswerUserList);

	Integer deleteByKey(@Param("key") Integer key, @Param("corpid") String corpid);
	SurveyAnswerUserEntity getByKey(@Param("key") Integer key, @Param("corpid") String corpid);


	List<SurveyAnswerUserEntity>  findEntitys(@Param("param") Map<String, Object> param);
	Integer getEntitysCount(@Param("param") Map<String, Object> param);



}